package com.hopes.bizz.hazard.alarm.dto;

import com.hopes.bizz.hazard.alarm.entity.HazAlarmBrokenEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/12/14 19:34
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class HazAlarmBrokenDTO extends HazAlarmBrokenEntity {

    private static final long serialVersionUID = -4155146791182868055L;
    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
